package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 故障分类对象 tb_fault_type
 * 
 * @author ruoyi
 * @date 2023-06-25
 */
public class TbFaultType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 故障分类ID */
    private Long faultTypeId;

    /** 故障分类编码 */
    @Excel(name = "故障分类编码")
    private String faultTypeCode;

    /** 故障分类 */
    @Excel(name = "故障分类")
    private String faultTypeName;

    public void setFaultTypeId(Long faultTypeId) 
    {
        this.faultTypeId = faultTypeId;
    }

    public Long getFaultTypeId() 
    {
        return faultTypeId;
    }
    public void setFaultTypeCode(String faultTypeCode) 
    {
        this.faultTypeCode = faultTypeCode;
    }

    public String getFaultTypeCode() 
    {
        return faultTypeCode;
    }
    public void setFaultTypeName(String faultTypeName) 
    {
        this.faultTypeName = faultTypeName;
    }

    public String getFaultTypeName() 
    {
        return faultTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("faultTypeId", getFaultTypeId())
            .append("faultTypeCode", getFaultTypeCode())
            .append("faultTypeName", getFaultTypeName())
            .toString();
    }
}
